function makejoints(char,scale) --[[ Root Hip 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0 | 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0 HumanoidRootPart Torso Left Hip -1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08 | -0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08 Torso Left Leg Right Hip 1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08 | 0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08 Torso Right Leg Left Shoulder -1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08 | 0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08 Torso Left Arm Right Shoulder 1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08 | -0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08 Torso Right Arm Neck 0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0 | 0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0 Torso Head ]] if scale == nil then scale = 1 end function m(p1,p2,c1,c2) local mtr = Instance.new("Motor6D") mtr.Parent = p1 mtr.Part0 = p1 mtr.Part1 = p2 mtr.C0 = CFrame.new(c1.p*scale)*(c1-(c1.p)) mtr.C1 = CFrame.new(c2.p*scale)*(c2-(c2.p)) return mtr end local hrp = char["HumanoidRootPart"] local t = char["Torso"] local h = char["Head"] local ra = char["Right Arm"] local la = char["Left Arm"] local rl = char["Right Leg"] local ll = char["Left Leg"] local roh = m(hrp,t,CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)) local nk = m(t,h,CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)) local rs = m(t,ra,CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08),CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)) local ls = m(t,la,CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08),CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)) local rh = m(t,rl,CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08),CFrame.new( 0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)) local lh = m(t,ll,CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08),CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)) roh.Name = "RootJoint" nk.Name = "Neck" rs.Name = "Right Shoulder" ls.Name = "Left Shoulder" rh.Name = "Right Hip" lh.Name = "Left Hip" return {roh,nk,rs,ls,rh,lh} end local model = owner.Character for i,v in pairs({'Right Arm','Left Arm','Right Leg','Left Leg','Head','Torso','HumanoidRootPart'}) do if model:FindFirstChild(v)==nil then local p = Instance.new("Part",model) p.Name = v if v~="HumanoidRootPart" and v~="Torso" then if v=="Head" then p.Size = Vector3.new(2,1,1) else p.Size = Vector3.new(1,2,1) end else p.Size = Vector3.new(2,2,1) end end end makejoints(model,1)